node 'memcached.example.com' {
  include stdlib
  include memcached
}

node 'mongodb1.example.com'{
  class {'::mongodb::globals':
    manage_package_repo => true
  }

  class {'::mongodb::server':
    bind_ip => ['0.0.0.0'],
    port => 27017,
    verbose => true,
    auth => false
  } 

  class {'::mongodb::client': }

  mongodb::db { 'm101p':
    user          => 'm101p',
    password => 'm101p_password' 
  }
}
